.x-badge {
    position: relative;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;

    .x-badge-dot {
        position: absolute;
        transform: translateX(-50%);
        transform-origin: 0 center;
        top: -4px;
        height: 8px;
        width: 8px;
        border-radius: 100%;
        background: #ff5b05;
        z-index: 10;
    }

    .x-badge-count {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        position: absolute;
        top: -6px;
        height: 18px;
        line-height: 18px;
        min-width: 9px;
        border-radius: 12px;
        padding: 5px 10px;
        text-align: center;
        font-size: 22px;
        color: #fff;
        background-color: #ff5b05;
        white-space: nowrap;
        transform: translateX(-45%);
        transform-origin: -10% center;
        z-index: 10;
    }
}